package club.ljwang.controller;

import club.ljwang.entity.PageResult;
import club.ljwang.entity.QueryPageBean;
import club.ljwang.service.LogService;
import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: ming
 * @date: 2020/3/10-12:17
 * @Version: 1.0.0
 */
@RestController
@RequestMapping("log")
public class LogController {

    @Reference
    private LogService logService;

    @RequestMapping("findPage")
    public PageResult findPage(@RequestBody QueryPageBean queryPageBean){
        return logService.findPage(queryPageBean);
    }
}
